package Long.Lu.Service;


import Long.Lu.pojo.Employee;
import Long.Lu.pojo.EmployeeParam;
import org.springframework.data.domain.Page;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface EmployeeService {
    //显示数据
    List<Employee> selectAll();
    //修改状态
    boolean updateStatus(Integer employId);
    //增加员工
    boolean add(Employee employee);
    //删除
    boolean deleteOne(Integer employId);
    //批量删除
    boolean delAll(String employIds);
    //根据员工姓名查询
    Page<Employee> select(EmployeeParam employeeParam);
    //文件导出
    void excelWrite(HttpServletResponse response);

}
